package com.zabra.zl.ui.login.model;

import com.zabra.zl.data.LoginBean;
import com.zabra.zl.data.SimpleBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.login.contract.LoginContract;

import io.reactivex.Flowable;
import okhttp3.RequestBody;
import retrofit2.Call;

public class LoginModel implements LoginContract.Model {
    @Override
    public Call<LoginBean> getData(RequestBody body) {
        return RetrofitClient.getInstance().getApi().getLoginData(body);
    }
}
